package net.qiqb.dao.mybatis.plus.event;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import net.qiqb.core.domain.event.types.DomainEventStatus;

import java.io.Serializable;
import java.time.LocalDateTime;

@TableName("domain_event")
@Data
@Builder
public class DomainEventPO implements Serializable {

    private String id;

    private String traceId;

    private LocalDateTime createTime;

    private String creator;

    private DomainEventStatus status;

    private String source;

    private String params;

    private byte[] payload;
}
